/*
* @Author: Administrator
* @Date:   2018-08-12 10:50:38
* @Last Modified by:   Administrator
* @Last Modified time: 2018-08-12 10:51:59
*/
module.exports = (url, data) => {
  return new Promise((resolve, reject) => {
    wx.request({
      url: `https://locally.uieee.com/${url}`,
      data: data,
      success: resolve,
      fail: reject
    })
  })
}
